package com.example.demo.dto;

import com.example.demo.bean.PageConfigItem;
import lombok.Data;

import java.util.List;

@Data
public class PageConfigItemDto {

    private Integer pageConfigId;
    private List<ModuleDTO> modules;

    @Data
    public static class ModuleDTO {
        private PageConfigItem.ContentTypeEnum type;
        private Integer orderIndex;
        private String content;
        private String list;
    }
}
